home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-07-28 | 2.0 KB | 38 lines | [TEXT/Moml] |
- MSL patch notes 1997Jul28 e [Doug Currie <e@flavors.com>]
-
- There are a few bugs in the Metrowerks Standard Library (MSL) 2.1.2 supplied
- with Code Warrior Pro 1, and earlier versions as well I suspect. Some of these
- affect mosml-mac. MetroWerks tells me that at some point patches for these
- bugs will be published on their web site. In the meantime they have given me
- permission to include a few patch files with mosml-mac.
-
- With the patches, the only know bugs remaining are in the area of floating
- point reading and writing. Metrowerks is working on this. Denormalized floats
- cannot be read at all. Printing of floats is slightly inaccurate (i.e., in the
- one or two LSBs of a double), and printf() rounds toward +/-infinity instead
- of nearest or even. I have included a patch of my own to improve rounding in
- printf() for some common cases, but the real solution is a complete rewrite of
- strtod() and printf(). I will wait to see if MSL improves soon before I take
- this on myself.
-
- A patch file rename_patch.c is included in the source distribution to make
- rename work for directories again. The linker warnings:
- Link Warning : ignored ‘__rename_file’ (code) in MSL C.PPC (NL).Lib
- Previously defined in rename_patch.c
- Link Warning : ignored ‘__rename_file’ (descriptor) in MSL C.PPC (NL).Lib
- Previously defined in rename_patch.c
- can be safely ignored. But you should remove this file from the mosml project
- once MetroWerks fixes this problem.
-
- MCL 2.1.2 epoch is 1900 not 1904. Unfortunately, MSL does not adjust the time
- returned from MacOS before it uses it in some cases. Patches to fix this are
- supplied by Metrowerks in .
-
- The files in the archive in this folder should be placed in the appropriate
- places in the Metrowerks Standard Library folder. Then the Build MSL Libraries
- application supplied with Code Warrior Pro should be used to rebuild your
- libraries. At a minumum, rebuild the Fa(4i 8d)NL ANSI C libraries used by the
- 68k versions of mosml, and the PPC NL ANSI C libraries.
-
- e
-